package cn.thr.pethome.pet.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import cn.thr.pethome.base.domain.BaseDomian;
import cn.thr.pethome.department.domain.Department;
import cn.thr.pethome.shop.domain.Shop;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author thr
 * @since 2023-02-05
 */
@Data
public class Pet extends BaseDomian{

    private static final long serialVersionUID = 1L;

    private String name;
    private BigDecimal saleprice;
    private String costprice;
    /**
     * 图片路径
     */
    private String resources;
    /**
     * 状态：0下架 1上架
     */
    private Long state;
    /**
     * 类型id
     */
    private Long typeId;
    private Date offsaletime;
    private Date onsaletime;
    private Date createtime;
    /**
     * 店铺Id 如果被领养店铺id为null
     */
    private Long shopId;
    /**
     * 如果被领养为领养用户id
     */
    private Long userId;
    private Long searchMasterMsgId;
    private Integer auditnum;
    private String note;


    //
    private  PetDetail detail;

    private PetType petType;
    //用来查询店铺
    private Shop shop;
}
